package com.skywaregroup.arenal;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="Countries")
@XmlAccessorType(XmlAccessType.NONE)
public class ListOfCountries {

	@XmlElement(name="Country")
	public List<Country> data;
	
	private ListOfCountries(){	}
	
	public static ListOfCountries createFromList(List<Country> data){
		ListOfCountries rv = new ListOfCountries();
		rv.data = data;
		return rv;
	}
	
}
